﻿using HSharp.Autofac;
using HSharp.Business;

namespace WebApi7A.Helper
{
    public class DataHelper
    {
        //手动注入UserService
        private static IUserService userService = IocManager.Resolve<IUserService>();

        public static string GetData()
        {
            return userService.GetUserName();
        }
    }
}